<?php

session_start();

if (isset($_SESSION['cartdata'])) {
    unset($_SESSION['cartdata']);
}
if (isset($_SESSION['cart'])) {
    unset($_SESSION['cart']);
}
if (isset($_SESSION['goods'])) {
    unset($_SESSION['goods']);
}

if (isset($_SESSION['ui'])) {
    unset($_SESSION['ui']);
}

echo 'flush session ok!<br/>';

?>